﻿<%@ Page Title="" Language="C#" MasterPageFile="~/adminpanel.master" AutoEventWireup="true" CodeFile="ChangePW.aspx.cs" Inherits="ChangePW" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style2
        {
            font-size: medium;
        }
        .style18
        {
            font-weight: 700;
        }
        .style34
        {
            font-weight: 700;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <table class="style1">
        <tr>
            <td class="style20">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
   
    <div style="height: 440px; width: 855px">
    
        <table class="style1">
            <tr>
                <td class="style24">
                    &nbsp;</td>
                <td class="style24">
                    &nbsp;</td>
                <td class="style25">
                    &nbsp;</td>
                <td class="style26">
                    &nbsp;</td>
                <td colspan="4" class="style27">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style24">
                    &nbsp;</td>
                <td class="style24">
                    </td>
                <td class="style25">
                    </td>
                <td class="style26">
                    <strong></strong></td>
                <td colspan="4" class="style27">
                    </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    <span class="style2"><strong>
                    </span></strong></td>
                <td class="style22" colspan="2">
                    </span>
                    <strong style="text-align: left"><span class="style2">Change User Password</span></strong></td>
                <td colspan="4">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    &nbsp;</td>
                <td class="style18">
                    &nbsp;</td>
                <td class="style4">
                    &nbsp;</td>
                <td colspan="4">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    &nbsp;</td>
                <td class="style18">
                    <asp:Label ID="Label2" runat="server" Text="Distributor ID" Width="150px" 
                        style="font-weight: 700"></asp:Label>
                </td>
                <td class="style4">
                    <asp:DropDownList ID="disid" runat="server" DataSourceID="LinqDataSource1" 
                        DataTextField="Dis_ID" DataValueField="Dis_ID" 
                        onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
                        BackColor="#CED4DF" Width="200px">
                    </asp:DropDownList>
                </td>
                <td colspan="4">
                    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
                        ContextTypeName="bestlifeDataContext" EntityTypeName="" 
                        TableName="Tbl_Distributors">
                    </asp:LinqDataSource>
                </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    &nbsp;</td>
                <td class="style18">
                    User name </td>
                <td class="style4">
                    <asp:TextBox ID="TextBox3" runat="server" BackColor="#CED4DF" Width="200px"></asp:TextBox>
                    </td>
                <td class="style14" colspan="4">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ErrorMessage="Please Insert your name " ForeColor="Red" 
                        ControlToValidate="TextBox1" Width="150px"></asp:RequiredFieldValidator>
                    </td>
            </tr>
            <tr>
                <td class="style33">
                    &nbsp;</td>
                <td class="style33">
                    </td>
                <td class="style34">
                    Password </td>
                <td class="style35">
                    <asp:TextBox ID="TextBox1" runat="server" BackColor="#CED4DF" Width="200px"></asp:TextBox>
                </td>
                <td class="style7" colspan="4">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ErrorMessage="Please choose a password" ForeColor="Red" 
                        ControlToValidate="TextBox2"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    &nbsp;</td>
                <td class="style18">
                    Confirm Password </td>
                <td class="style4">
                    <asp:TextBox ID="TextBox2" runat="server" BackColor="#CED4DF" Width="200px"></asp:TextBox>
                </td>
                <td colspan="4">
                    <asp:RequiredFieldValidator ID="errormsg" runat="server" 
                        ErrorMessage="Passwords did not match " ForeColor="Red" 
                        ControlToValidate="TextBox3"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    &nbsp;</td>
                <td class="style18">
                    &nbsp;</td>
                <td class="style4">
                    </td>
                <td class="style14" colspan="4">
                    <br />
                    </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    &nbsp;</td>
                <td class="style18">
                    &nbsp;</td>
                <td class="style4">
                    <asp:Button ID="Button1" runat="server" BackColor="#CED4DF" 
                        Text="Change Password" />
                </td>
                <td class="style16">
                    &nbsp;</td>
                <td class="style17">
                    &nbsp;</td>
                <td class="style15">
                    &nbsp;</td>
                <td class="style10">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    &nbsp;</td>
                <td class="style18">
                    &nbsp;</td>
                <td colspan="5" class="style14">
                    </td>
            </tr>
            <tr>
                <td class="style23">
                    &nbsp;</td>
                <td class="style23">
                    &nbsp;</td>
                <td class="style18">
                    &nbsp;</td>
                <td colspan="5">
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    
            </td>
        </tr>
    </table>
</asp:Content>

